#include <iostream>
using namespace std;
 
int main()
{
    int n = 0;
    cin >> n;
    int k = n / 2, left = 1, right = n;
    while(k--)
    {
        cout << left++ << " " << right-- << " ";
    }
    if(n % 2 != 0)
    {
        cout << n / 2 + 1;
    }
    return 0;
}